package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_cricket_get", desc = "蛐蛐获得", autoSave = true, uploadCk = true)
public class LogCricketGet extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "蛐蛐id")
    private int cricketId;

    @FieldTypeAnnotation(desc = "品质")
    private int quality;

    @FieldTypeAnnotation(desc = "等级")
    private int title;

    @FieldTypeAnnotation(desc = "军衔")
    private int littleTitle;

    @FieldTypeAnnotation(desc = "蛐蛐数量")
    private int cricketNum;

    @FieldTypeAnnotation(desc = "获得途径")
    private int master;

    @FieldTypeAnnotation(desc = "获得途径")
    private int son;

    public LogCricketGet(long userId, int cricketId, int quality, int title, int littleTitle, int cricketNum, int master, int son) {
        this.userId = userId;
        this.cricketId = cricketId;
        this.quality = quality;
        this.title = title;
        this.littleTitle = littleTitle;
        this.cricketNum = cricketNum;
        this.master = master;
        this.son = son;
    }

    public long getUserId() {
        return userId;
    }

}
